package jeconbond.economic.resources;

public class ResourceBasket {
	public static final ResourceBasket[] EPMTY_RB_ARRAY = 
		new ResourceBasket[0];
	
	public IResourceType type;
	public double value;
	
	public ResourceBasket(IResourceType type, double value) {
		this.type = type;
		this.value = value;
	}

	public ResourceBasket(IResourceType rt) {
		this(rt, 0.0);
	}

	public ResourceBasket(ResourceBasket rb) {
		this(rb.type, rb.value);
	}

	public String toString() {
		return "Res: " + type.getName() + " val: " + String.format("%f", value);
	}
}
